﻿using System;
using System.Collections.Generic;

namespace HYRElectric.SystemDiagram
{
	public struct LoopInfo
	{
		public LoopInfo(string loopName, string phaseSequence, double load, double coefficient, double power, string use, double current, List<string> cells, List<string> tags, double Pc = 0.0, double Qc = 0.0)
		{
			this.loopName = loopName;
			this.phaseSequence = phaseSequence;
			this.load = load;
			this.coefficient = coefficient;
			this.power = power;
			this.use = use;
			this.current = current;
			this.cells = cells;
			this.tags = tags;
			this.Pc = Pc;
			this.Qc = Qc;
		}

		public LoopInfo(LoopInfo info)
		{
			this.loopName = info.loopName;
			this.phaseSequence = info.phaseSequence;
			this.load = info.load;
			this.coefficient = info.coefficient;
			this.power = info.power;
			this.use = info.use;
			this.current = info.current;
			this.cells = info.cells;
			this.tags = info.tags;
			this.Pc = info.Pc;
			this.Qc = info.Qc;
		}

		public string loopName;

		public string phaseSequence;

		public double load;

		public double coefficient;

		public double power;

		public string use;

		public double current;

		public List<string> cells;

		public List<string> tags;

		public double Pc;

		public double Qc;
	}
}
